﻿@if (Model == null)
{
    <form action="@Url.Action()" method="post" enctype="multipart/form-data">
        <div>文件名</div>
        <div>
            <input type="file" name="file" id="file" multiple="multiple" data-val="true" data-val-required="文件不能为空，请选择文件。" />
        </div>
        @Html.Submit("上传", new { @class = "btn btn-default btn-primary" })
    </form>
}
else
{
    <div>
        上传成功！数据正在在后台处理，稍候便查询或统计出来！
    </div>
    <div>
        @Html.ValidationSummary()
    </div>
}
<a Href="@ViewData["ReturnUrl"]">立即返回</a>